import request from "../request";

export function todayDatas() {  //今日数据统计
    return request({
        url: 'sightseer/tourists/data/today/data/statistics',
        method: 'GET',
    })
}

export function dayTimes() {  //今日数据统计
    return request({
        url: 'sightseer/period/tourists/data',
        method: 'GET',
    })
}

export function passengerData() {  //客流统计
    return request({
        url: 'sightseer/tourists/data/footfall/statistics/data',
        method: 'GET',
    })
}

export function sevenData() {  //近七天客流统计
    return request({
        url: 'sightseer/tourists/data/week/footfall/statistics',
        method: 'GET',
    })
}

export function moreMakeData() {  //多次预约客流统计
    return request({
        url: 'sightseer/tourists/data/repeatedly/booking',
        method: 'GET',
    })
}

export function ageData() {  //年龄入园统计
    return request({
        url: 'sightseer/tourists/data/ageGender',
        method: 'GET',
    })
}

export function topSix() {  //当日入园top15
    return request({
        url: 'sightseer/user/source/domestic/day',
        method: 'GET',
    })
}

export function todaySumNum() {  //当日入园游客数量
    return request({
        url: 'sightseer/tourists/data/domestic/num',
        method: 'GET',
    })
}

export function abroadNum() {  //国外游客数量
    return request({
        url: 'sightseer/user/source/overseas2',
        method: 'GET',
    })
}

export function sevenRate() {  //近七天核销占比趋势
    return request({
        url: 'sightseer/tourists/data/week/cancel/statistics',
        method: 'GET',
    })
}

export function hebeiData(params) {  //河北省当月入园游客趋势图
    return request({
        url: 'sightseer/user/source/month/hebei/number',
        method: 'GET',
        params:params
    })
}

export function monthData(params) {  //近三十天各市累计入园游客排名
    return request({
        url: 'sightseer/user/source/month/hebei',
        method: 'GET',
        params:params
    })
}

export function sourceRank(params) {  //各地来源排名
    return request({
        url: 'sightseer/user/source/month/domestic',
        method: 'GET',
        params:params
    })
}